<%-- 
<%@ include file="common.jsp" %>
<%@ include file="loadJsAndCss.jsp" %>
<html>
<head>
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/menu.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/common.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/header.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/login.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/table.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/font.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='jquery/css/customTheme/css/color.css' />" />

<script type="text/javascript" src="<c:url value='./jquery/css/customTheme/js/menu.js'/>"></script>

<style type="text/css">
	html, body {
		height: 100%;
		width: 100%;
		overflow: hidden;
	}
	.textLabel{
		font-family: verdana;
		font-size: 12px;
	}
</style>
<title>Welcome. Please Login</title>

<script type="text/javascript">
 
  $(document).ready(function(){
	 createLoginDialog();
	 createforgetpasswordDialog();
		$("input[name='j_username']").focus();
	
}); 

</script>
</head>
<body style="height: 100%; overflow: hidden; vertical-align: middle;">
	<div id="login" align="center" style="overflow:hidden !important; height: 100%;">
		<table style="width: 98%; height: 100%">
			<tr style="height: 35%; background-color: #00345D;">
				<td></td>
			</tr>
			<tr style="height: 30%; background-color: #F9F9F9;">
				<td>
					<table style="width: 100%;height: 100%;">
						<tr>
							<td align="center" width="13%" style="padding-left: 30px;">
								<img alt="" src="./jquery/css/customTheme/images/e-Compliance_login_icons-04.png">								
							</td>
							<td align="center" width="13%" style="padding-left: 30px;">
								<img alt="" src="./jquery/css/customTheme/images/e-Compliance_login_icons-07.png">
							</td>
							<td width="50%">
								
							</td>
							<td align="center" width="12%">
<!-- 								<img alt="" src="./jquery/css/customTheme/images/BlueLotus.png"> -->
							</td>
							<td align="center" width="12%">								
<!-- 								<img alt="" src="./jquery/css/customTheme/images/JPGlogoColorSmall.jpg"> -->
							</td>
						</tr>
						<tr>
							<td align="center" width="12%" style="padding-left: 30px;">
								<span style="font-size:small; color: #1C76BC;font-family: verdana;text-align: center;">LABOUR+INDUSTRIAL <br/> COMPLIANCES</span>								
							</td>
							<td align="center" width="12%" style="padding-left: 30px;">
								<span style="font-size:small; color: #1C76BC;font-family: verdana;text-align: center;">FINANCIAL <br/> COMPLIANCES</span>
							</td>
							<td width="50%">
								
							</td>
							<td align="center" width="12%">
								
							</td>
							<td align="center" width="12%">								
								
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr style="height: 35%; background-color: #00345D;">
				<td></td>
			</tr>
		</table>
	</div>
</body>
	<div id="loginDiv" align="center" class="loginDivColor loginDivFont">
		<form action="<c:url value='j_spring_security_check'/>" method="post">
			<table style="width:80%;" align="center" >
				<tr>
					<td align="center"> <img alt="" src="./jquery/css/customTheme/images/e-Compliance_login_icons-08.png"  height="100px" width="80px"> </td>
				</tr>
				<tr class="formSpacingRow"></tr>
				<tr>
					<td align="center"><span style="font-size: medium;color: #1C76BC;font-family: verdana;">E-COMPLIANCE SUITE</span> </td>
				</tr>
				<tr class="formSpacingRow"></tr>
				<tr class="formSpacingRow"></tr>
				
				<tr> <td align="left"><label for="j_username" class="textLabel">User Name:</label> </td> </tr>
				<tr> <td align="center" class="formField input"> <input name="j_username" style="height: 22px;font-size: 12px;"
						 value='<c:if test="${not empty login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>'/>
					 </td>
				</tr>
				
				<tr class="formSpacingRow"></tr>
				
				<tr> <td align="left"> <label for="j_password" class="textLabel">Password:</label> </td> </tr>
				<tr> <td align="center" class="formField input"> <input type="password" name="j_password" style="height: 22px;font-size: 12px;" /> </td> </tr>
				
				<tr class="formSpacingRow"></tr>
				
								
				<tr> <td align="center"> <input type="submit" value="LOGIN" class="loginButton buttonFont buttonColor" style="height: 22px;font-size: 12px;"/> </td> </tr>
				</table>
				<br/>
			<table style="width: 100%;">
				<tbody style="width: 100%;">
					<tr>
						<td align="left" style="font-family: verdana;font-size: 12px;width: 70%;"><c:if
							test="${not empty param.login_error}">
							<span class="errorMessage">Your login attempt was not successful, try
							again.</span>
							</c:if>
							<br/>
							<c:if test="${enableForgetPassword eq 1}">
							<a href="#" onclick="forgetPassword();" style="vertical-align: bottom;">Forgot Password</a>
							</c:if>							
						</td>
						<td align="right">
							<table style="vertical-align: bottom;">
								<tr>
									<td>
										<img alt="" src="./jquery/css/customTheme/images/WaterMark.png">
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</tbody>
			</table>		
		</form>
	</div>
	<div id="forgetPasswordDiv" title="Forget Password">
	<div id="passwordContent" class="hide" align="center">
	<table>
		<tr class="formSpacingRow"></tr>
		<tr>
			<td>
				<label for="userName">Enter User Name</label>
			</td>
			<td>
				<input type="text" id="userName"></input>
			</td>
		</tr>
	</table>
	</div>
</div>
</html>
  --%>
 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
    window.location = "${redirectUrl}";
</script>
</head>
</html>


